package com.saozhu.pojo;

public class Good {
	private int id;
	private String name;
	private int number;
	private float price;
	private String open;
	private int type_id;

	public Good(int id, String name, int number, float price, String open, int type_id) {
		super();
		this.id = id;
		this.name = name;
		this.number = number;
		this.price = price;
		this.open = open;
		this.type_id = type_id;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public String getOpen() {
		return open;
	}

	public void setOpen(String open) {
		this.open = open;
	}

	public int getType_id() {
		return type_id;
	}

	public void setType_id(int type_id) {
		this.type_id = type_id;
	}

	@Override
	public String toString() {
		return "Good [id=" + id + ", name=" + name + ", number=" + number + ", price=" + price + ", open=" + open
				+ ", type_id=" + type_id + "]";
	}

}
